package com.ruoyi.apartmentattribute.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公寓属性对象 apartmentattribute
 * 
 * @author ruoyi
 * @date 2024-10-14
 */
public class Apartmentattribute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公寓ID */
    private Long id;

    /** 公寓名称 */
    @Excel(name = "公寓名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否有电梯 */
    @Excel(name = "是否有电梯")
    private Integer hasElevator;

    /** 物业管理公司 */
    @Excel(name = "物业管理公司")
    private String propertyManagementCompany;

    /** 设施属性 */
    @Excel(name = "设施属性")
    private String facilityAttributes;

    /** 安全属性 */
    @Excel(name = "安全属性")
    private String securityAttributes;

    /** 装修风格 */
    @Excel(name = "装修风格")
    private String decorationStyle;

    /** 最近一次装修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近一次装修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastDecorationDate;

    /** 最近一次维修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近一次维修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastMaintenanceDate;

    /** 维修内容 */
    @Excel(name = "维修内容")
    private String maintenanceDetails;

    /** 是否可以养宠物 */
    @Excel(name = "是否可以养宠物")
    private Integer petPolicy;

    /** 是否能抽烟 */
    @Excel(name = "是否能抽烟")
    private Integer smokingPolicy;

    /** 是否有障碍设施 */
    @Excel(name = "是否有障碍设施")
    private Integer hasAccessibility;

    /** 能源效率等级 */
    @Excel(name = "能源效率等级")
    private String energyEfficiency;

    /** 绿色建筑认证 */
    @Excel(name = "绿色建筑认证")
    private Integer greenBuildingCertification;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setHasElevator(Integer hasElevator) 
    {
        this.hasElevator = hasElevator;
    }

    public Integer getHasElevator() 
    {
        return hasElevator;
    }
    public void setPropertyManagementCompany(String propertyManagementCompany) 
    {
        this.propertyManagementCompany = propertyManagementCompany;
    }

    public String getPropertyManagementCompany() 
    {
        return propertyManagementCompany;
    }
    public void setFacilityAttributes(String facilityAttributes) 
    {
        this.facilityAttributes = facilityAttributes;
    }

    public String getFacilityAttributes() 
    {
        return facilityAttributes;
    }
    public void setSecurityAttributes(String securityAttributes) 
    {
        this.securityAttributes = securityAttributes;
    }

    public String getSecurityAttributes() 
    {
        return securityAttributes;
    }
    public void setDecorationStyle(String decorationStyle) 
    {
        this.decorationStyle = decorationStyle;
    }

    public String getDecorationStyle() 
    {
        return decorationStyle;
    }
    public void setLastDecorationDate(Date lastDecorationDate) 
    {
        this.lastDecorationDate = lastDecorationDate;
    }

    public Date getLastDecorationDate() 
    {
        return lastDecorationDate;
    }
    public void setLastMaintenanceDate(Date lastMaintenanceDate) 
    {
        this.lastMaintenanceDate = lastMaintenanceDate;
    }

    public Date getLastMaintenanceDate() 
    {
        return lastMaintenanceDate;
    }
    public void setMaintenanceDetails(String maintenanceDetails) 
    {
        this.maintenanceDetails = maintenanceDetails;
    }

    public String getMaintenanceDetails() 
    {
        return maintenanceDetails;
    }
    public void setPetPolicy(Integer petPolicy) 
    {
        this.petPolicy = petPolicy;
    }

    public Integer getPetPolicy() 
    {
        return petPolicy;
    }
    public void setSmokingPolicy(Integer smokingPolicy) 
    {
        this.smokingPolicy = smokingPolicy;
    }

    public Integer getSmokingPolicy() 
    {
        return smokingPolicy;
    }
    public void setHasAccessibility(Integer hasAccessibility) 
    {
        this.hasAccessibility = hasAccessibility;
    }

    public Integer getHasAccessibility() 
    {
        return hasAccessibility;
    }
    public void setEnergyEfficiency(String energyEfficiency) 
    {
        this.energyEfficiency = energyEfficiency;
    }

    public String getEnergyEfficiency() 
    {
        return energyEfficiency;
    }
    public void setGreenBuildingCertification(Integer greenBuildingCertification) 
    {
        this.greenBuildingCertification = greenBuildingCertification;
    }

    public Integer getGreenBuildingCertification() 
    {
        return greenBuildingCertification;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("hasElevator", getHasElevator())
            .append("propertyManagementCompany", getPropertyManagementCompany())
            .append("facilityAttributes", getFacilityAttributes())
            .append("securityAttributes", getSecurityAttributes())
            .append("decorationStyle", getDecorationStyle())
            .append("lastDecorationDate", getLastDecorationDate())
            .append("lastMaintenanceDate", getLastMaintenanceDate())
            .append("maintenanceDetails", getMaintenanceDetails())
            .append("petPolicy", getPetPolicy())
            .append("smokingPolicy", getSmokingPolicy())
            .append("hasAccessibility", getHasAccessibility())
            .append("energyEfficiency", getEnergyEfficiency())
            .append("greenBuildingCertification", getGreenBuildingCertification())
            .toString();
    }
}
